/*
 * @Author: your name
 * @Date: 2020-10-12 15:17:50
 * @LastEditTime: 2020-10-20 03:17:34
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \longh_admin\src\api\Merchants.js
 */
import request from '@/utils/request'

//获取分页列表
export function getMyPageList(data) {
  return request({
    url: '/api/entMerchants/getMyPageList',
    method: 'POST',
    data
  })
}


// 审核
export function entMerchantscheck(data) {
  return request({
    url: '/api/entMerchants/check',
    method: 'POST',
    data
  })
}

// 获取详情
export function entMerchantsinfo(id) {
  return request({
    url: '/api/entMerchants/info',
    method: 'POST',
    data: {
      id
    }
  })
}

// 获取匹配推送企业
export function getEntMerchantsPushInfo(data) {
  return request({
    url: '/api/entMerchants/getEntMerchantsPushInfo',
    method: 'POST',
    data
  })
}

// 推送企业
export function productEntPush(data) {
  return request({
    url: '/api/productCategory/productEntPush',
    method: 'POST',
    data
  })
}